<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="/WEB-INF/template/template.xhtml">

	<ui:define name="content">
		<br />

		<h:form id="Response">
			<h:panelGrid class="panelGrid" border="0" columns="2">
				<h:outputText value="#{msg.TG_ticketDetail_grid_name}" />
				<h:outputText value="#{viewTicketsBean.ticket.senderName}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_usertype}" />
				<h:outputText value="#{viewTicketsBean.ticket.senderUsertype}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_senderDomain}" />
				<h:outputText value="#{viewTicketsBean.ticket.senderDomain}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_resName}" />
				<h:outputText value="#{viewTicketsBean.ticket.resProductName}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_prodId}" />
				<h:outputText value="#{viewTicketsBean.ticket.resProductID}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_resDomain}" />
				<h:outputText value="#{viewTicketsBean.ticket.resProductDomain}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_probType}" />
				<h:outputText value="#{viewTicketsBean.ticket.problemType}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_description}" />
				<h:outputText value="#{viewTicketsBean.ticket.description}" />
				<h:outputText value="#{msg.TG_ticketDetail_grid_response}" />
				<h:inputTextarea id="responseText" required="true" type="text"
					value="#{viewTicketsBean.response}"></h:inputTextarea>

			</h:panelGrid>
			<div class="middle">
				<br />
				<h:messages class="myError" for="responseText" style="color:red" />

				<h:commandButton class="button" value="#{msg.TG_ticketDetail_grid_sendRespButton}"
					actionListener="#{viewTicketsBean.addResponse}"
					onclick="#{msg.TG_ticketDetail_confMessage}" />
				<h:commandButton class="button" value="#{msg.TG_ticketDetail_grid_cancelButton}" immediate="true"
					actionListener="#{viewTicketsBean.goBack}" />
			</div>
		</h:form>
			


	</ui:define>

</ui:composition>
</html>